#!/usr/bin/python

# reference to:
#  * http://www.nayuki.io/page/how-to-implement-the-discrete-fourier-transform
#  * https://batchloaf.wordpress.com/2013/12/07/simple-dft-in-c/

import math

for i in range(0, 10000):
	x = (math.pi/100)*i
	y = math.sin(x) + math.cos(x)
	print "%3d %11.8f" %(i, y)

